package com.ruoyi.system.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 积分规则对象 t_point_rule
 * 
 * @author ruoyi
 * @date 2023-07-28
 */

@TableName("t_point_rule")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PointRule
{
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 左区间 */
    @Excel(name = "左区间")
    private BigDecimal min;

    /** 右区间 */
    @Excel(name = "右区间")
    private BigDecimal max;

    /** 薪资级别 */
    @Excel(name = "薪资级别")
    private String level;

    /** 映射职级 */
    @Excel(name = "映射职级")
    private String post;

    /** 常规积分 */
    @Excel(name = "常规积分")
    private Integer generalPoint;

    /** 稀缺积分 */
    @Excel(name = "稀缺积分")
    private Integer scarcePoint;
}
